/**
 * Created by 123456 on 2016/10/31.
 */
/**
 * Created by yangfan on 2016/10/13.
 */
define(["business/services/constant"], function (constant) {
    var workSkill_url = constant.config.BASEURL_WorkSkill;//Ip
   
    var cousTomuser = "elink_user/api/personCustom"
    var Planner =  constant.config.CONSTANT_PLANNER;//热门课程Ip
    var VIdeoColum = constant.config.CONSTANT_videoCata//视频目录
    var WorkData = constant.config.CONSTANT_WorkData;//工程资料
    var stuurl = constant.config.BASEURL_Stu;
    var stu = constant.config.CONSTANT_stud;
    var userurl =  constant.config.BASEURL_BLOG;
    var user = constant.config.CONSTANT_sign;//user接口
    var person= constant.config.CONSTANT_PERSON;
    var provice = constant.config.CONSTANT_REGION_PROVICE;
    var notifyURL = constant.config.BASEURL_Company;
    var notifyAPI = constant.config.CONSTANT_NOTIFY;
    var postbar = constant.config.BASEURL_BOSTBAR;
    var postbarcon=constant.config.CONSTANT_BOSTBAR;
    return {
        getcolumn:function(requestion){
            return constant.httpSend(workSkill_url,Planner,requestion);
        },
        getTwoColum:function(requestion){
            return constant.httpSend(workSkill_url,VIdeoColum,requestion);
        },
        getWorkData:function(requestion){
            return constant.httpSend(workSkill_url,WorkData,requestion);
        },
        getstu:function(requestion){
            return constant.httpSend(stuurl,stu,requestion);
        },
         PostSign:function(requestion){
            return constant.httpSend(userurl,user,requestion);
        },
        getPerson:function(requestion){
            return constant.httpSend(userurl,person,requestion);
        },
        getAdd:function(requestion){
            return constant.httpSend(userurl,provice,requestion);
        },
        notifyHttpService:function(requestion){
        	return constant.httpSend(notifyURL,notifyAPI,requestion);
        },
        getbotbar:function(requestion){
            return constant.httpSend(postbar,postbarcon,requestion);
        },
         getpersonCustom:function(requestion){
            return constant.httpSend(userurl,cousTomuser,requestion);
        }
    }
});

